<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/jquery-1.11.1.min.js"></script>
</head>
<body>


<textarea id="a1"  rows="" cols="" style="width:300px,height:300px">

</textarea>
<button id="bt1">
aaa
</button>
<script type="text/javascript">

(function(){
	
	$("#bt1").click(function(){
		$.ajax({
			type : "get",
			url : "${pageContext.request.contextPath}/testSH", 
			data:{date1:$("#date2").val()},
			dataType:'text',
			success : function(msg) {   
				$("#myDiv").html(msg);
				$("#mytalbe").addClass("gridtable");  
				loadUrl();
			}
		});
	});
	
	
	
})();
</script>


</body>
</html>